package com.ruide_info.demo.service.demo1;

import com.ruide_info.demo.model.demo1.Demo1RequestBean;
import org.springframework.web.multipart.MultipartFile;
import ruide_info_mvc.base.model.response.BaseResponseBean;

/**
 * @ClassName IDemo1Service
 * @Author wangBo
 * @Date 2019/7/21 0021 下午 3:16
 * @Version 1.0
 */
public interface IDemo1Service {

    /**
     * 功能描述: 新增
     * @Author wangBo
     * @Date 2019/7/21 0021 下午 3:18
     * @param demo1RequestBean
     * @return BaseResponseBean
     **/
    BaseResponseBean insertDemo(Demo1RequestBean demo1RequestBean) throws Exception;

    /**
     * 功能描述: 删除
     * @Author wangBo
     * @Date 2019/7/21 0021 下午 3:18
     * @param demo1RequestBean
     * @return BaseResponseBean
     **/
    BaseResponseBean deleteDemo(Demo1RequestBean demo1RequestBean) throws Exception;

    /**
     * 功能描述: 查询
     * @Author wangBo
     * @Date 2019/7/21 0021 下午 3:18
     * @param demo1RequestBean
     * @return BaseResponseBean
     **/
    BaseResponseBean queryDemoLIst(Demo1RequestBean demo1RequestBean) throws Exception;

    /**
     * 功能描述: CURD  加上 图片
     * @Author wangBo
     * @Date 2019/7/21 0021 下午 3:18
     * @param demo1RequestBean
     * @return BaseResponseBean
     **/
    BaseResponseBean uploadPic(Demo1RequestBean demo1RequestBean , MultipartFile [] files) throws Exception;
}